package com.info.zhiduoduo.admin.model.formbean.partner;

import java.math.BigDecimal;

import javax.validation.constraints.Positive;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class UpdateRealNameByCrowdFormBean {

	//id
	@Positive
	@ApiModelProperty("合伙人ID")
	private int partnerid;
	//是否为众包合伙人：1.是，2.否
	@ApiModelProperty("是否为众包合伙人")
	private int whetherCrowdPartner;
	//众包基础费率
	@ApiModelProperty("众包基础费率")
	private String crowdBasicsRate;

	@ApiModelProperty("是否开启众包成本分佣功能 1:否 2:是 ")
	private Integer crowdCostState;
	@ApiModelProperty("众包成本价基础比例")
	private Double crowdCostPrimaryRate;
	@ApiModelProperty("众包成本价第二档比例")
	private Double crowdCostSecondaryRate;
	@ApiModelProperty("众包成本价第二档总金额")
	private BigDecimal crowdCostSecondaryAmount;
}
